package com.training1.core.modules.service;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletResponse;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.training1.api.exception.ApiAuthenticationException;
import com.training1.api.login.APILoginUtil;
import com.training1.core.common.entity.UserEntity;
import com.training1.core.common.service.CrudService;
import com.training1.core.common.utils.DateUtils;
import com.training1.core.common.utils.IdGen;
import com.training1.core.common.utils.excel.ExcelUtil;
import com.training1.core.dto.APIRegisterDto;
import com.training1.core.entity.CustomerEntity;
import com.training1.core.entity.MemberEntity;
import com.training1.core.entity.MessageEntity;
import com.training1.core.modules.dao.CustomerDao;
import com.training1.core.modules.dao.MemberDao;
import com.training1.core.modules.dao.SystemSettingsDao;
import com.training1.core.modules.dao.UserDao;

@Service
@Transactional
public class CustomerService extends CrudService<CustomerDao,CustomerEntity>{
	
	
	@Resource
	private CustomerDao customerDao;
	
	public CustomerEntity findUserContract(Map<String,Object> map){
		return customerDao.findUserContract(map);
	}
}
